<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>取消文本域外框和禁止文本域大小拖拽</title>
    <style>
        input{
            outline: none;
        }
        textarea{
            resize: none;
        }
    </style>
</head>
<body>
    <input type="text" name="wdnmd">
    <textarea name="aaaa" cols="30" rows="10"></textarea>
</body>
</html>